package com.ctsi.oauth.config;

import com.ctsi.oauth.controller.UserController;
import com.ctsi.oauth.properties.SecurityProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * @author: zhangjw
 * @Date: 2018/9/13 12:00
 * @Description:
 */
@Configuration
@Import({OAuth2Configuration.class,WebSecurityConfig.class})
@ComponentScan(basePackageClasses = UserController.class,basePackages = {"com.ctsi.oauth.manager","com.ctsi.auth.integration"},lazyInit = true)
@EnableConfigurationProperties({SecurityProperties.class})
public class Oauth2ServiceAutoConfiguration {

}

